package com.example.javaexam1;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class e2 extends AppCompatActivity {
    private Button button10,button11,button12,button13;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_e2);
        button10 = (Button) findViewById(R.id.a2);
        button11 = (Button) findViewById(R.id.b2);
        button12 = (Button) findViewById(R.id.c2);
        button13 = (Button) findViewById(R.id.d2);
        button10.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(e2.this,e3.class);
                startActivity(intent);
            }
        });
        button11.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(e2.this,e3.class);
                startActivity(intent);
            }
        });
        button12.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(e2.this,e3.class);
                startActivity(intent);
            }
        });
        button13.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(e2.this,e3.class);
                startActivity(intent);
            }
        });
    }
}
